package info.douyi.dps.mapper;

import info.douyi.dps.model.PreviewImg;
import info.douyi.dps.model.PreviewImgExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PreviewImgMapper {
    long countByExample(PreviewImgExample example);

    int deleteByExample(PreviewImgExample example);

    int deleteByPrimaryKey(Integer imgid);

    int insert(PreviewImg row);

    int insertSelective(PreviewImg row);

    List<PreviewImg> selectByExample(PreviewImgExample example);

    PreviewImg selectByPrimaryKey(Integer imgid);

    int updateByExampleSelective(@Param("row") PreviewImg row, @Param("example") PreviewImgExample example);

    int updateByExample(@Param("row") PreviewImg row, @Param("example") PreviewImgExample example);

    int updateByPrimaryKeySelective(PreviewImg row);

    int updateByPrimaryKey(PreviewImg row);
}